package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.UplevelLogMapper;
import com.hcb.micro.dto.UplevelLog;
import com.hcb.micro.service.IUplevelLogService;

@Service("UplevelLogService")
public class UplevelLogServiceImpl implements IUplevelLogService {

	@Autowired
	UplevelLogMapper uplevelLogMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return uplevelLogMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(UplevelLog record) {
		return uplevelLogMapper.insert(record);
	}

	@Override
	public int insertSelective(UplevelLog record) {
		return uplevelLogMapper.insertSelective(record);
	}

	@Override
	public UplevelLog selectByPrimaryKey(Integer id) {
		return uplevelLogMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(UplevelLog record) {
		return uplevelLogMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(UplevelLog record) {
		return uplevelLogMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<UplevelLog> selectByPara(Map<String, Object> para) {
		return uplevelLogMapper.selectByPara(para);
	}

}
